import axios  from "../axios";

export default {
    getManagerData(page,limit){
        return axios({
            url: "/fundManager/info"+`/${page}/${limit}`,
            method:"POST",
            data:{page,limit}
        })
    },
    addManagerData(data){
        return axios({
            url:"/fundManager/add",
            method:"POST",
            data
        })
    },
    delManagerData(params){
        return axios({
            url:"/fundManager/delete/"+params,
            method:"GET",
            params
        })
    },
    getOneManager(params){
        return axios({
            url: '/fundManager/getOne/'+params,
            method:"GET",
            params
        })
    },
    getManagerInfo(data){
        return axios({
            url: '/fundManager/infos',
            method:"POST",
            data
        })
    },
    updateManagerData(data){
        return axios({
            url:"/fundManager/update",
            method:"POST",
            data
        })
    }
}